import { extend } from 'dayjs';
import localeData from 'dayjs/plugin/localeData';
import { locale } from 'dayjs';
import 'dayjs/locale/zh-cn';

export function setupDayjs() {
  extend(localeData);

  locale('zh-cn');
}
